package com.jmag.nop.service.common.message;

/**
 * @ClassName Errors
 * @Description 错误信息列表
 * @Author JMAG
 * @Version 1.0
 **/
public interface Errors {
    String OPEN_ISV = "open.error_";
    ErrorMeta SUCCESS = new ErrorMeta("open.error_", "0", "success");
    ErrorMeta SYS_ERROR = new ErrorMeta("open.error_", "-9", "系统错误");
    ErrorMeta NO_API = new ErrorMeta("open.error_", "1", "不存在的服务请求");
    ErrorMeta ERROR_PARAM = new ErrorMeta("open.error_", "2", "参数非法");
    ErrorMeta NO_APP_ID = new ErrorMeta("open.error_", "3", "缺少应用键参数");
    ErrorMeta ERROR_APP_ID = new ErrorMeta("open.error_", "4", "应用键参数无效");
    ErrorMeta NO_SIGN_PARAM = new ErrorMeta("open.error_", "5", "缺少签名参数");
    ErrorMeta ERROR_SIGN = new ErrorMeta("open.error_", "6", "签名无效");
    ErrorMeta TIMEOUT = new ErrorMeta("open.error_", "7", "请求超时");
    ErrorMeta ERROR_BUSI = new ErrorMeta("open.error_", "8", "业务逻辑出错");
    ErrorMeta SERVICE_INVALID = new ErrorMeta("open.error_", "9", "服务不可用");
    ErrorMeta TIME_INVALID = new ErrorMeta("open.error_", "10", "请求时间格式错误");
    ErrorMeta NO_FORMATTER = new ErrorMeta("open.error_", "11", "序列化格式不存在");
    ErrorMeta NO_CONTECT_TYPE_SUPPORT = new ErrorMeta("open.error_", "12", "不支持contectType");
    ErrorMeta ERROR_JSON_DATA = new ErrorMeta("open.error_", "13", "json格式错误");
    ErrorMeta ERROR_ACCESS_TOKEN = new ErrorMeta("open.error_", "14", "accessToken错误");
    ErrorMeta EXPIRED_ACCESS_TOKEN = new ErrorMeta("open.error_", "15", "accessToken expired");
    ErrorMeta UNSET_ACCESS_TOKEN = new ErrorMeta("open.error_", "16", "accessToken not found");
    ErrorMeta ERROR_OPT_JWT = new ErrorMeta("open.error_", "17", "jwt操作失败");
    ErrorMeta ERROR_JWT = new ErrorMeta("open.error_", "18", "jwt错误");
    ErrorMeta ERROR_ALGORITHM = new ErrorMeta("open.error_", "19", "加密算法不支持");
    ErrorMeta ERROR_SSL = new ErrorMeta("open.error_", "20", "ssl交互错误");
    ErrorMeta ERROR_JWT_EXPIRED = new ErrorMeta("open.error_", "21", "jwt过期");
    ErrorMeta ERROR_UPLOAD_FILE = new ErrorMeta("open.error_", "22", "文件上传错误");
    ErrorMeta NO_PERMISSION = new ErrorMeta("open.error_", "23", "无访问权限");
    ErrorMeta NEW_SSL_NOT_SUPPORTED = new ErrorMeta("open.error_", "24", "新ssl交互不支持");
    ErrorMeta BUSI_PARAM_ERROR = new ErrorMeta("100", "业务参数错误");
}
